import { postRequest } from "../http.js";

// 统计告警
let getDevicesignalStatus = (data)=>{
    return new Promise((reslove,reject)=>{
        postRequest("./msgCenterService/deviceWarning/getDevicesignalStatus",data).then(res=>{
            reslove(res)
        })
    })
}

// 查询告警记录
let selectDeviceWarning = (data)=>{
    return new Promise((reslove,reject)=>{
        postRequest("./msgCenterService/deviceWarning/selectDeviceWarning",data).then(res=>{
            reslove(res)
        })
    })
}

export {
    getDevicesignalStatus,
	selectDeviceWarning,
}
